<template>
    <div class="header">
     <div class="header-left" @click="back()"><i class="iconfont iconarrow-left-bold"></i></div>
       城市选择
    </div>
</template>
<script>
export default {
    name:'CityHeader',
    data(){
        return{

        }
    },
    components:{

    },
    methods:{
        back(){
            this.$router.go(-1)
        },
    }

}
</script>
<style lang="stylus" scoped>
@import '~styles/varibles.styl'
.header
    position relative
    overflow hidden
    height .86rem
    line-height .86rem
    text-align center
    color #fff
    background $bgColor
    font-size .32rem
    .header-left
     position absolute
     top 0
     left 0
     width .64rem
     text-align center
</style>